package com.gz.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Member implements Serializable {
    //如果用mybatis-plus就在这里注解@TableId(type=IdType.AUTO),
    // 如果是mybatis，就在mapper文件对应语句下写useGeneratedKeys="true" keyProperty="id"
    private Long id;
    private String name;
    private String pwd;
    private String mobile;
    private String email;
    private Integer gender;
}
